@alicloud/dytnsapi20200217 1.0.19 → 1.0.21
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 +10 -251
- package/dist/client.js +50 -488
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +72 -607
package/src/client.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as $tea from '@alicloud/tea-typescript';
|
|
|
10
10
|
|
|
11
11
|
export class DescribeEmptyNumberRequest extends $tea.Model {
|
|
12
12
|
authCode?: string;
|
|
13
|
+
extendFunction?: string;
|
|
13
14
|
inputNumber?: string;
|
|
14
15
|
mask?: string;
|
|
15
16
|
ownerId?: number;
|
|
@@ -18,6 +19,7 @@ export class DescribeEmptyNumberRequest extends $tea.Model {
|
|
|
18
19
|
static names(): { [key: string]: string } {
|
|
19
20
|
return {
|
|
20
21
|
authCode: 'AuthCode',
|
|
22
|
+
extendFunction: 'ExtendFunction',
|
|
21
23
|
inputNumber: 'InputNumber',
|
|
22
24
|
mask: 'Mask',
|
|
23
25
|
ownerId: 'OwnerId',
|
|
@@ -29,6 +31,7 @@ export class DescribeEmptyNumberRequest extends $tea.Model {
|
|
|
29
31
|
static types(): { [key: string]: any } {
|
|
30
32
|
return {
|
|
31
33
|
authCode: 'string',
|
|
34
|
+
extendFunction: 'string',
|
|
32
35
|
inputNumber: 'string',
|
|
33
36
|
mask: 'string',
|
|
34
37
|
ownerId: 'number',
|
|
@@ -95,90 +98,6 @@ export class DescribeEmptyNumberResponse extends $tea.Model {
|
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
|
|
98
|
-
export class DescribeEmptyNumberDetectRequest extends $tea.Model {
|
|
99
|
-
encryptType?: string;
|
|
100
|
-
ownerId?: number;
|
|
101
|
-
phone?: string;
|
|
102
|
-
resourceOwnerAccount?: string;
|
|
103
|
-
resourceOwnerId?: number;
|
|
104
|
-
static names(): { [key: string]: string } {
|
|
105
|
-
return {
|
|
106
|
-
encryptType: 'EncryptType',
|
|
107
|
-
ownerId: 'OwnerId',
|
|
108
|
-
phone: 'Phone',
|
|
109
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
110
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
static types(): { [key: string]: any } {
|
|
115
|
-
return {
|
|
116
|
-
encryptType: 'string',
|
|
117
|
-
ownerId: 'number',
|
|
118
|
-
phone: 'string',
|
|
119
|
-
resourceOwnerAccount: 'string',
|
|
120
|
-
resourceOwnerId: 'number',
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
constructor(map?: { [key: string]: any }) {
|
|
125
|
-
super(map);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export class DescribeEmptyNumberDetectResponseBody extends $tea.Model {
|
|
130
|
-
code?: string;
|
|
131
|
-
data?: DescribeEmptyNumberDetectResponseBodyData[];
|
|
132
|
-
message?: string;
|
|
133
|
-
requestId?: string;
|
|
134
|
-
static names(): { [key: string]: string } {
|
|
135
|
-
return {
|
|
136
|
-
code: 'Code',
|
|
137
|
-
data: 'Data',
|
|
138
|
-
message: 'Message',
|
|
139
|
-
requestId: 'RequestId',
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
static types(): { [key: string]: any } {
|
|
144
|
-
return {
|
|
145
|
-
code: 'string',
|
|
146
|
-
data: { 'type': 'array', 'itemType': DescribeEmptyNumberDetectResponseBodyData },
|
|
147
|
-
message: 'string',
|
|
148
|
-
requestId: 'string',
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
constructor(map?: { [key: string]: any }) {
|
|
153
|
-
super(map);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
158
|
-
headers: { [key: string]: string };
|
|
159
|
-
statusCode: number;
|
|
160
|
-
body: DescribeEmptyNumberDetectResponseBody;
|
|
161
|
-
static names(): { [key: string]: string } {
|
|
162
|
-
return {
|
|
163
|
-
headers: 'headers',
|
|
164
|
-
statusCode: 'statusCode',
|
|
165
|
-
body: 'body',
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
static types(): { [key: string]: any } {
|
|
170
|
-
return {
|
|
171
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
172
|
-
statusCode: 'number',
|
|
173
|
-
body: DescribeEmptyNumberDetectResponseBody,
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
constructor(map?: { [key: string]: any }) {
|
|
178
|
-
super(map);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
101
|
export class DescribePhoneNumberAnalysisRequest extends $tea.Model {
|
|
183
102
|
authCode?: string;
|
|
184
103
|
inputNumber?: string;
|
|
@@ -272,90 +191,10 @@ export class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
|
272
191
|
}
|
|
273
192
|
}
|
|
274
193
|
|
|
275
|
-
export class DescribePhoneNumberAttributeRequest extends $tea.Model {
|
|
276
|
-
ownerId?: number;
|
|
277
|
-
phoneNumber?: string;
|
|
278
|
-
resourceOwnerAccount?: string;
|
|
279
|
-
resourceOwnerId?: number;
|
|
280
|
-
static names(): { [key: string]: string } {
|
|
281
|
-
return {
|
|
282
|
-
ownerId: 'OwnerId',
|
|
283
|
-
phoneNumber: 'PhoneNumber',
|
|
284
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
285
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
286
|
-
};
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
static types(): { [key: string]: any } {
|
|
290
|
-
return {
|
|
291
|
-
ownerId: 'number',
|
|
292
|
-
phoneNumber: 'string',
|
|
293
|
-
resourceOwnerAccount: 'string',
|
|
294
|
-
resourceOwnerId: 'number',
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
constructor(map?: { [key: string]: any }) {
|
|
299
|
-
super(map);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export class DescribePhoneNumberAttributeResponseBody extends $tea.Model {
|
|
304
|
-
code?: string;
|
|
305
|
-
message?: string;
|
|
306
|
-
phoneNumberAttribute?: DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute;
|
|
307
|
-
requestId?: string;
|
|
308
|
-
static names(): { [key: string]: string } {
|
|
309
|
-
return {
|
|
310
|
-
code: 'Code',
|
|
311
|
-
message: 'Message',
|
|
312
|
-
phoneNumberAttribute: 'PhoneNumberAttribute',
|
|
313
|
-
requestId: 'RequestId',
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
static types(): { [key: string]: any } {
|
|
318
|
-
return {
|
|
319
|
-
code: 'string',
|
|
320
|
-
message: 'string',
|
|
321
|
-
phoneNumberAttribute: DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute,
|
|
322
|
-
requestId: 'string',
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
constructor(map?: { [key: string]: any }) {
|
|
327
|
-
super(map);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
export class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
332
|
-
headers: { [key: string]: string };
|
|
333
|
-
statusCode: number;
|
|
334
|
-
body: DescribePhoneNumberAttributeResponseBody;
|
|
335
|
-
static names(): { [key: string]: string } {
|
|
336
|
-
return {
|
|
337
|
-
headers: 'headers',
|
|
338
|
-
statusCode: 'statusCode',
|
|
339
|
-
body: 'body',
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
static types(): { [key: string]: any } {
|
|
344
|
-
return {
|
|
345
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
346
|
-
statusCode: 'number',
|
|
347
|
-
body: DescribePhoneNumberAttributeResponseBody,
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
constructor(map?: { [key: string]: any }) {
|
|
352
|
-
super(map);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
194
|
export class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
357
195
|
authCode?: string;
|
|
358
196
|
carrier?: string;
|
|
197
|
+
extendFunction?: string;
|
|
359
198
|
inputNumber?: string;
|
|
360
199
|
mask?: string;
|
|
361
200
|
ownerId?: number;
|
|
@@ -365,6 +204,7 @@ export class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
|
365
204
|
return {
|
|
366
205
|
authCode: 'AuthCode',
|
|
367
206
|
carrier: 'Carrier',
|
|
207
|
+
extendFunction: 'ExtendFunction',
|
|
368
208
|
inputNumber: 'InputNumber',
|
|
369
209
|
mask: 'Mask',
|
|
370
210
|
ownerId: 'OwnerId',
|
|
@@ -377,6 +217,7 @@ export class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
|
377
217
|
return {
|
|
378
218
|
authCode: 'string',
|
|
379
219
|
carrier: 'string',
|
|
220
|
+
extendFunction: 'string',
|
|
380
221
|
inputNumber: 'string',
|
|
381
222
|
mask: 'string',
|
|
382
223
|
ownerId: 'number',
|
|
@@ -508,172 +349,7 @@ export class DescribePhoneNumberOperatorAttributeResponseBody extends $tea.Model
|
|
|
508
349
|
export class DescribePhoneNumberOperatorAttributeResponse extends $tea.Model {
|
|
509
350
|
headers: { [key: string]: string };
|
|
510
351
|
statusCode: number;
|
|
511
|
-
body: DescribePhoneNumberOperatorAttributeResponseBody;
|
|
512
|
-
static names(): { [key: string]: string } {
|
|
513
|
-
return {
|
|
514
|
-
headers: 'headers',
|
|
515
|
-
statusCode: 'statusCode',
|
|
516
|
-
body: 'body',
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
static types(): { [key: string]: any } {
|
|
521
|
-
return {
|
|
522
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
523
|
-
statusCode: 'number',
|
|
524
|
-
body: DescribePhoneNumberOperatorAttributeResponseBody,
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
constructor(map?: { [key: string]: any }) {
|
|
529
|
-
super(map);
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
export class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
534
|
-
ownerId?: number;
|
|
535
|
-
phoneNumber?: string;
|
|
536
|
-
resourceOwnerAccount?: string;
|
|
537
|
-
resourceOwnerId?: number;
|
|
538
|
-
since?: string;
|
|
539
|
-
static names(): { [key: string]: string } {
|
|
540
|
-
return {
|
|
541
|
-
ownerId: 'OwnerId',
|
|
542
|
-
phoneNumber: 'PhoneNumber',
|
|
543
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
544
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
545
|
-
since: 'Since',
|
|
546
|
-
};
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
static types(): { [key: string]: any } {
|
|
550
|
-
return {
|
|
551
|
-
ownerId: 'number',
|
|
552
|
-
phoneNumber: 'string',
|
|
553
|
-
resourceOwnerAccount: 'string',
|
|
554
|
-
resourceOwnerId: 'number',
|
|
555
|
-
since: 'string',
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
constructor(map?: { [key: string]: any }) {
|
|
560
|
-
super(map);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
export class DescribePhoneNumberResaleResponseBody extends $tea.Model {
|
|
565
|
-
code?: string;
|
|
566
|
-
message?: string;
|
|
567
|
-
requestId?: string;
|
|
568
|
-
twiceTelVerify?: DescribePhoneNumberResaleResponseBodyTwiceTelVerify;
|
|
569
|
-
static names(): { [key: string]: string } {
|
|
570
|
-
return {
|
|
571
|
-
code: 'Code',
|
|
572
|
-
message: 'Message',
|
|
573
|
-
requestId: 'RequestId',
|
|
574
|
-
twiceTelVerify: 'TwiceTelVerify',
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
static types(): { [key: string]: any } {
|
|
579
|
-
return {
|
|
580
|
-
code: 'string',
|
|
581
|
-
message: 'string',
|
|
582
|
-
requestId: 'string',
|
|
583
|
-
twiceTelVerify: DescribePhoneNumberResaleResponseBodyTwiceTelVerify,
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
constructor(map?: { [key: string]: any }) {
|
|
588
|
-
super(map);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
export class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
593
|
-
headers: { [key: string]: string };
|
|
594
|
-
statusCode: number;
|
|
595
|
-
body: DescribePhoneNumberResaleResponseBody;
|
|
596
|
-
static names(): { [key: string]: string } {
|
|
597
|
-
return {
|
|
598
|
-
headers: 'headers',
|
|
599
|
-
statusCode: 'statusCode',
|
|
600
|
-
body: 'body',
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
static types(): { [key: string]: any } {
|
|
605
|
-
return {
|
|
606
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
607
|
-
statusCode: 'number',
|
|
608
|
-
body: DescribePhoneNumberResaleResponseBody,
|
|
609
|
-
};
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
constructor(map?: { [key: string]: any }) {
|
|
613
|
-
super(map);
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
export class DescribePhoneNumberStatusRequest extends $tea.Model {
|
|
618
|
-
ownerId?: number;
|
|
619
|
-
phoneNumber?: string;
|
|
620
|
-
resourceOwnerAccount?: string;
|
|
621
|
-
resourceOwnerId?: number;
|
|
622
|
-
static names(): { [key: string]: string } {
|
|
623
|
-
return {
|
|
624
|
-
ownerId: 'OwnerId',
|
|
625
|
-
phoneNumber: 'PhoneNumber',
|
|
626
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
627
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
static types(): { [key: string]: any } {
|
|
632
|
-
return {
|
|
633
|
-
ownerId: 'number',
|
|
634
|
-
phoneNumber: 'string',
|
|
635
|
-
resourceOwnerAccount: 'string',
|
|
636
|
-
resourceOwnerId: 'number',
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
constructor(map?: { [key: string]: any }) {
|
|
641
|
-
super(map);
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
export class DescribePhoneNumberStatusResponseBody extends $tea.Model {
|
|
646
|
-
code?: string;
|
|
647
|
-
message?: string;
|
|
648
|
-
phoneStatus?: DescribePhoneNumberStatusResponseBodyPhoneStatus;
|
|
649
|
-
requestId?: string;
|
|
650
|
-
static names(): { [key: string]: string } {
|
|
651
|
-
return {
|
|
652
|
-
code: 'Code',
|
|
653
|
-
message: 'Message',
|
|
654
|
-
phoneStatus: 'PhoneStatus',
|
|
655
|
-
requestId: 'RequestId',
|
|
656
|
-
};
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
static types(): { [key: string]: any } {
|
|
660
|
-
return {
|
|
661
|
-
code: 'string',
|
|
662
|
-
message: 'string',
|
|
663
|
-
phoneStatus: DescribePhoneNumberStatusResponseBodyPhoneStatus,
|
|
664
|
-
requestId: 'string',
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
constructor(map?: { [key: string]: any }) {
|
|
669
|
-
super(map);
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
674
|
-
headers: { [key: string]: string };
|
|
675
|
-
statusCode: number;
|
|
676
|
-
body: DescribePhoneNumberStatusResponseBody;
|
|
352
|
+
body: DescribePhoneNumberOperatorAttributeResponseBody;
|
|
677
353
|
static names(): { [key: string]: string } {
|
|
678
354
|
return {
|
|
679
355
|
headers: 'headers',
|
|
@@ -686,7 +362,7 @@ export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
686
362
|
return {
|
|
687
363
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
688
364
|
statusCode: 'number',
|
|
689
|
-
body:
|
|
365
|
+
body: DescribePhoneNumberOperatorAttributeResponseBody,
|
|
690
366
|
};
|
|
691
367
|
}
|
|
692
368
|
|
|
@@ -697,6 +373,7 @@ export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
697
373
|
|
|
698
374
|
export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
699
375
|
authCode?: string;
|
|
376
|
+
extendFunction?: string;
|
|
700
377
|
inputNumber?: string;
|
|
701
378
|
mask?: string;
|
|
702
379
|
ownerId?: number;
|
|
@@ -706,6 +383,7 @@ export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
|
706
383
|
static names(): { [key: string]: string } {
|
|
707
384
|
return {
|
|
708
385
|
authCode: 'AuthCode',
|
|
386
|
+
extendFunction: 'ExtendFunction',
|
|
709
387
|
inputNumber: 'InputNumber',
|
|
710
388
|
mask: 'Mask',
|
|
711
389
|
ownerId: 'OwnerId',
|
|
@@ -718,6 +396,7 @@ export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
|
718
396
|
static types(): { [key: string]: any } {
|
|
719
397
|
return {
|
|
720
398
|
authCode: 'string',
|
|
399
|
+
extendFunction: 'string',
|
|
721
400
|
inputNumber: 'string',
|
|
722
401
|
mask: 'string',
|
|
723
402
|
ownerId: 'number',
|
|
@@ -961,6 +640,7 @@ export class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
961
640
|
|
|
962
641
|
export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
963
642
|
authCode?: string;
|
|
643
|
+
extendFunction?: string;
|
|
964
644
|
inputNumber?: string;
|
|
965
645
|
mask?: string;
|
|
966
646
|
ownerId?: number;
|
|
@@ -969,6 +649,7 @@ export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
|
969
649
|
static names(): { [key: string]: string } {
|
|
970
650
|
return {
|
|
971
651
|
authCode: 'AuthCode',
|
|
652
|
+
extendFunction: 'ExtendFunction',
|
|
972
653
|
inputNumber: 'InputNumber',
|
|
973
654
|
mask: 'Mask',
|
|
974
655
|
ownerId: 'OwnerId',
|
|
@@ -980,6 +661,7 @@ export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
|
980
661
|
static types(): { [key: string]: any } {
|
|
981
662
|
return {
|
|
982
663
|
authCode: 'string',
|
|
664
|
+
extendFunction: 'string',
|
|
983
665
|
inputNumber: 'string',
|
|
984
666
|
mask: 'string',
|
|
985
667
|
ownerId: 'number',
|
|
@@ -1135,6 +817,7 @@ export class PhoneNumberStatusForPublicResponse extends $tea.Model {
|
|
|
1135
817
|
|
|
1136
818
|
export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
1137
819
|
authCode?: string;
|
|
820
|
+
extendFunction?: string;
|
|
1138
821
|
inputNumber?: string;
|
|
1139
822
|
mask?: string;
|
|
1140
823
|
ownerId?: number;
|
|
@@ -1143,6 +826,7 @@ export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
|
1143
826
|
static names(): { [key: string]: string } {
|
|
1144
827
|
return {
|
|
1145
828
|
authCode: 'AuthCode',
|
|
829
|
+
extendFunction: 'ExtendFunction',
|
|
1146
830
|
inputNumber: 'InputNumber',
|
|
1147
831
|
mask: 'Mask',
|
|
1148
832
|
ownerId: 'OwnerId',
|
|
@@ -1154,6 +838,7 @@ export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
|
1154
838
|
static types(): { [key: string]: any } {
|
|
1155
839
|
return {
|
|
1156
840
|
authCode: 'string',
|
|
841
|
+
extendFunction: 'string',
|
|
1157
842
|
inputNumber: 'string',
|
|
1158
843
|
mask: 'string',
|
|
1159
844
|
ownerId: 'number',
|
|
@@ -1222,6 +907,7 @@ export class PhoneNumberStatusForRealResponse extends $tea.Model {
|
|
|
1222
907
|
|
|
1223
908
|
export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
1224
909
|
authCode?: string;
|
|
910
|
+
extendFunction?: string;
|
|
1225
911
|
inputNumber?: string;
|
|
1226
912
|
mask?: string;
|
|
1227
913
|
ownerId?: number;
|
|
@@ -1230,6 +916,7 @@ export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
|
1230
916
|
static names(): { [key: string]: string } {
|
|
1231
917
|
return {
|
|
1232
918
|
authCode: 'AuthCode',
|
|
919
|
+
extendFunction: 'ExtendFunction',
|
|
1233
920
|
inputNumber: 'InputNumber',
|
|
1234
921
|
mask: 'Mask',
|
|
1235
922
|
ownerId: 'OwnerId',
|
|
@@ -1241,6 +928,7 @@ export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
|
1241
928
|
static types(): { [key: string]: any } {
|
|
1242
929
|
return {
|
|
1243
930
|
authCode: 'string',
|
|
931
|
+
extendFunction: 'string',
|
|
1244
932
|
inputNumber: 'string',
|
|
1245
933
|
mask: 'string',
|
|
1246
934
|
ownerId: 'number',
|
|
@@ -1309,6 +997,7 @@ export class PhoneNumberStatusForSmsResponse extends $tea.Model {
|
|
|
1309
997
|
|
|
1310
998
|
export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
1311
999
|
authCode?: string;
|
|
1000
|
+
extendFunction?: string;
|
|
1312
1001
|
inputNumber?: string;
|
|
1313
1002
|
mask?: string;
|
|
1314
1003
|
ownerId?: number;
|
|
@@ -1317,6 +1006,7 @@ export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
|
1317
1006
|
static names(): { [key: string]: string } {
|
|
1318
1007
|
return {
|
|
1319
1008
|
authCode: 'AuthCode',
|
|
1009
|
+
extendFunction: 'ExtendFunction',
|
|
1320
1010
|
inputNumber: 'InputNumber',
|
|
1321
1011
|
mask: 'Mask',
|
|
1322
1012
|
ownerId: 'OwnerId',
|
|
@@ -1328,6 +1018,7 @@ export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
|
1328
1018
|
static types(): { [key: string]: any } {
|
|
1329
1019
|
return {
|
|
1330
1020
|
authCode: 'string',
|
|
1021
|
+
extendFunction: 'string',
|
|
1331
1022
|
inputNumber: 'string',
|
|
1332
1023
|
mask: 'string',
|
|
1333
1024
|
ownerId: 'number',
|
|
@@ -1396,6 +1087,7 @@ export class PhoneNumberStatusForVirtualResponse extends $tea.Model {
|
|
|
1396
1087
|
|
|
1397
1088
|
export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
1398
1089
|
authCode?: string;
|
|
1090
|
+
extendFunction?: string;
|
|
1399
1091
|
inputNumber?: string;
|
|
1400
1092
|
mask?: string;
|
|
1401
1093
|
ownerId?: number;
|
|
@@ -1404,6 +1096,7 @@ export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
|
1404
1096
|
static names(): { [key: string]: string } {
|
|
1405
1097
|
return {
|
|
1406
1098
|
authCode: 'AuthCode',
|
|
1099
|
+
extendFunction: 'ExtendFunction',
|
|
1407
1100
|
inputNumber: 'InputNumber',
|
|
1408
1101
|
mask: 'Mask',
|
|
1409
1102
|
ownerId: 'OwnerId',
|
|
@@ -1415,6 +1108,7 @@ export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
|
1415
1108
|
static types(): { [key: string]: any } {
|
|
1416
1109
|
return {
|
|
1417
1110
|
authCode: 'string',
|
|
1111
|
+
extendFunction: 'string',
|
|
1418
1112
|
inputNumber: 'string',
|
|
1419
1113
|
mask: 'string',
|
|
1420
1114
|
ownerId: 'number',
|
|
@@ -1484,6 +1178,7 @@ export class PhoneNumberStatusForVoiceResponse extends $tea.Model {
|
|
|
1484
1178
|
export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
1485
1179
|
authCode?: string;
|
|
1486
1180
|
certCode?: string;
|
|
1181
|
+
extendFunction?: string;
|
|
1487
1182
|
inputNumber?: string;
|
|
1488
1183
|
mask?: string;
|
|
1489
1184
|
name?: string;
|
|
@@ -1494,6 +1189,7 @@ export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
|
1494
1189
|
return {
|
|
1495
1190
|
authCode: 'AuthCode',
|
|
1496
1191
|
certCode: 'CertCode',
|
|
1192
|
+
extendFunction: 'ExtendFunction',
|
|
1497
1193
|
inputNumber: 'InputNumber',
|
|
1498
1194
|
mask: 'Mask',
|
|
1499
1195
|
name: 'Name',
|
|
@@ -1507,6 +1203,7 @@ export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
|
1507
1203
|
return {
|
|
1508
1204
|
authCode: 'string',
|
|
1509
1205
|
certCode: 'string',
|
|
1206
|
+
extendFunction: 'string',
|
|
1510
1207
|
inputNumber: 'string',
|
|
1511
1208
|
mask: 'string',
|
|
1512
1209
|
name: 'string',
|
|
@@ -1576,6 +1273,7 @@ export class ThreeElementsVerificationResponse extends $tea.Model {
|
|
|
1576
1273
|
|
|
1577
1274
|
export class TwoElementsVerificationRequest extends $tea.Model {
|
|
1578
1275
|
authCode?: string;
|
|
1276
|
+
extendFunction?: string;
|
|
1579
1277
|
inputNumber?: string;
|
|
1580
1278
|
mask?: string;
|
|
1581
1279
|
name?: string;
|
|
@@ -1585,6 +1283,7 @@ export class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
1585
1283
|
static names(): { [key: string]: string } {
|
|
1586
1284
|
return {
|
|
1587
1285
|
authCode: 'AuthCode',
|
|
1286
|
+
extendFunction: 'ExtendFunction',
|
|
1588
1287
|
inputNumber: 'InputNumber',
|
|
1589
1288
|
mask: 'Mask',
|
|
1590
1289
|
name: 'Name',
|
|
@@ -1597,6 +1296,7 @@ export class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
1597
1296
|
static types(): { [key: string]: any } {
|
|
1598
1297
|
return {
|
|
1599
1298
|
authCode: 'string',
|
|
1299
|
+
extendFunction: 'string',
|
|
1600
1300
|
inputNumber: 'string',
|
|
1601
1301
|
mask: 'string',
|
|
1602
1302
|
name: 'string',
|
|
@@ -1686,28 +1386,6 @@ export class DescribeEmptyNumberResponseBodyData extends $tea.Model {
|
|
|
1686
1386
|
}
|
|
1687
1387
|
}
|
|
1688
1388
|
|
|
1689
|
-
export class DescribeEmptyNumberDetectResponseBodyData extends $tea.Model {
|
|
1690
|
-
number?: string;
|
|
1691
|
-
status?: string;
|
|
1692
|
-
static names(): { [key: string]: string } {
|
|
1693
|
-
return {
|
|
1694
|
-
number: 'Number',
|
|
1695
|
-
status: 'Status',
|
|
1696
|
-
};
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
|
-
static types(): { [key: string]: any } {
|
|
1700
|
-
return {
|
|
1701
|
-
number: 'string',
|
|
1702
|
-
status: 'string',
|
|
1703
|
-
};
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
constructor(map?: { [key: string]: any }) {
|
|
1707
|
-
super(map);
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
1389
|
export class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
1712
1390
|
code?: string;
|
|
1713
1391
|
number?: string;
|
|
@@ -1730,40 +1408,6 @@ export class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
|
1730
1408
|
}
|
|
1731
1409
|
}
|
|
1732
1410
|
|
|
1733
|
-
export class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
|
|
1734
|
-
basicCarrier?: string;
|
|
1735
|
-
carrier?: string;
|
|
1736
|
-
city?: string;
|
|
1737
|
-
isNumberPortability?: boolean;
|
|
1738
|
-
numberSegment?: number;
|
|
1739
|
-
province?: string;
|
|
1740
|
-
static names(): { [key: string]: string } {
|
|
1741
|
-
return {
|
|
1742
|
-
basicCarrier: 'BasicCarrier',
|
|
1743
|
-
carrier: 'Carrier',
|
|
1744
|
-
city: 'City',
|
|
1745
|
-
isNumberPortability: 'IsNumberPortability',
|
|
1746
|
-
numberSegment: 'NumberSegment',
|
|
1747
|
-
province: 'Province',
|
|
1748
|
-
};
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
static types(): { [key: string]: any } {
|
|
1752
|
-
return {
|
|
1753
|
-
basicCarrier: 'string',
|
|
1754
|
-
carrier: 'string',
|
|
1755
|
-
city: 'string',
|
|
1756
|
-
isNumberPortability: 'boolean',
|
|
1757
|
-
numberSegment: 'number',
|
|
1758
|
-
province: 'string',
|
|
1759
|
-
};
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
constructor(map?: { [key: string]: any }) {
|
|
1763
|
-
super(map);
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
1411
|
export class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.Model {
|
|
1768
1412
|
carrierCode?: string;
|
|
1769
1413
|
verifyResult?: string;
|
|
@@ -1820,53 +1464,6 @@ export class DescribePhoneNumberOperatorAttributeResponseBodyData extends $tea.M
|
|
|
1820
1464
|
}
|
|
1821
1465
|
}
|
|
1822
1466
|
|
|
1823
|
-
export class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
1824
|
-
carrier?: string;
|
|
1825
|
-
verifyResult?: number;
|
|
1826
|
-
static names(): { [key: string]: string } {
|
|
1827
|
-
return {
|
|
1828
|
-
carrier: 'Carrier',
|
|
1829
|
-
verifyResult: 'VerifyResult',
|
|
1830
|
-
};
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
static types(): { [key: string]: any } {
|
|
1834
|
-
return {
|
|
1835
|
-
carrier: 'string',
|
|
1836
|
-
verifyResult: 'number',
|
|
1837
|
-
};
|
|
1838
|
-
}
|
|
1839
|
-
|
|
1840
|
-
constructor(map?: { [key: string]: any }) {
|
|
1841
|
-
super(map);
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
1846
|
-
carrier?: string;
|
|
1847
|
-
serialId?: string;
|
|
1848
|
-
status?: string;
|
|
1849
|
-
static names(): { [key: string]: string } {
|
|
1850
|
-
return {
|
|
1851
|
-
carrier: 'Carrier',
|
|
1852
|
-
serialId: 'SerialId',
|
|
1853
|
-
status: 'Status',
|
|
1854
|
-
};
|
|
1855
|
-
}
|
|
1856
|
-
|
|
1857
|
-
static types(): { [key: string]: any } {
|
|
1858
|
-
return {
|
|
1859
|
-
carrier: 'string',
|
|
1860
|
-
serialId: 'string',
|
|
1861
|
-
status: 'string',
|
|
1862
|
-
};
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
constructor(map?: { [key: string]: any }) {
|
|
1866
|
-
super(map);
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
1467
|
export class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
|
|
1871
1468
|
carrier?: string;
|
|
1872
1469
|
verifyResult?: string;
|
|
@@ -2145,6 +1742,10 @@ export default class Client extends OpenApi {
|
|
|
2145
1742
|
query["AuthCode"] = request.authCode;
|
|
2146
1743
|
}
|
|
2147
1744
|
|
|
1745
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1746
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
2148
1749
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2149
1750
|
query["InputNumber"] = request.inputNumber;
|
|
2150
1751
|
}
|
|
@@ -2187,51 +1788,6 @@ export default class Client extends OpenApi {
|
|
|
2187
1788
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
2188
1789
|
}
|
|
2189
1790
|
|
|
2190
|
-
async describeEmptyNumberDetectWithOptions(request: DescribeEmptyNumberDetectRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEmptyNumberDetectResponse> {
|
|
2191
|
-
Util.validateModel(request);
|
|
2192
|
-
let query = { };
|
|
2193
|
-
if (!Util.isUnset(request.encryptType)) {
|
|
2194
|
-
query["EncryptType"] = request.encryptType;
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2198
|
-
query["OwnerId"] = request.ownerId;
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
if (!Util.isUnset(request.phone)) {
|
|
2202
|
-
query["Phone"] = request.phone;
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2206
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2210
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2214
|
-
query: OpenApiUtil.query(query),
|
|
2215
|
-
});
|
|
2216
|
-
let params = new $OpenApi.Params({
|
|
2217
|
-
action: "DescribeEmptyNumberDetect",
|
|
2218
|
-
version: "2020-02-17",
|
|
2219
|
-
protocol: "HTTPS",
|
|
2220
|
-
pathname: "/",
|
|
2221
|
-
method: "POST",
|
|
2222
|
-
authType: "AK",
|
|
2223
|
-
style: "RPC",
|
|
2224
|
-
reqBodyType: "formData",
|
|
2225
|
-
bodyType: "json",
|
|
2226
|
-
});
|
|
2227
|
-
return $tea.cast<DescribeEmptyNumberDetectResponse>(await this.callApi(params, req, runtime), new DescribeEmptyNumberDetectResponse({}));
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
async describeEmptyNumberDetect(request: DescribeEmptyNumberDetectRequest): Promise<DescribeEmptyNumberDetectResponse> {
|
|
2231
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2232
|
-
return await this.describeEmptyNumberDetectWithOptions(request, runtime);
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
1791
|
async describePhoneNumberAnalysisWithOptions(request: DescribePhoneNumberAnalysisRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisResponse> {
|
|
2236
1792
|
Util.validateModel(request);
|
|
2237
1793
|
let query = { };
|
|
@@ -2289,47 +1845,6 @@ export default class Client extends OpenApi {
|
|
|
2289
1845
|
return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
|
|
2290
1846
|
}
|
|
2291
1847
|
|
|
2292
|
-
async describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse> {
|
|
2293
|
-
Util.validateModel(request);
|
|
2294
|
-
let query = { };
|
|
2295
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2296
|
-
query["OwnerId"] = request.ownerId;
|
|
2297
|
-
}
|
|
2298
|
-
|
|
2299
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2300
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2303
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2304
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2308
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2312
|
-
query: OpenApiUtil.query(query),
|
|
2313
|
-
});
|
|
2314
|
-
let params = new $OpenApi.Params({
|
|
2315
|
-
action: "DescribePhoneNumberAttribute",
|
|
2316
|
-
version: "2020-02-17",
|
|
2317
|
-
protocol: "HTTPS",
|
|
2318
|
-
pathname: "/",
|
|
2319
|
-
method: "POST",
|
|
2320
|
-
authType: "AK",
|
|
2321
|
-
style: "RPC",
|
|
2322
|
-
reqBodyType: "formData",
|
|
2323
|
-
bodyType: "json",
|
|
2324
|
-
});
|
|
2325
|
-
return $tea.cast<DescribePhoneNumberAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
async describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse> {
|
|
2329
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2330
|
-
return await this.describePhoneNumberAttributeWithOptions(request, runtime);
|
|
2331
|
-
}
|
|
2332
|
-
|
|
2333
1848
|
async describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse> {
|
|
2334
1849
|
Util.validateModel(request);
|
|
2335
1850
|
let query = { };
|
|
@@ -2341,6 +1856,10 @@ export default class Client extends OpenApi {
|
|
|
2341
1856
|
query["Carrier"] = request.carrier;
|
|
2342
1857
|
}
|
|
2343
1858
|
|
|
1859
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1860
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
2344
1863
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2345
1864
|
query["InputNumber"] = request.inputNumber;
|
|
2346
1865
|
}
|
|
@@ -2432,92 +1951,6 @@ export default class Client extends OpenApi {
|
|
|
2432
1951
|
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
2433
1952
|
}
|
|
2434
1953
|
|
|
2435
|
-
async describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse> {
|
|
2436
|
-
Util.validateModel(request);
|
|
2437
|
-
let query = { };
|
|
2438
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2439
|
-
query["OwnerId"] = request.ownerId;
|
|
2440
|
-
}
|
|
2441
|
-
|
|
2442
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2443
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2444
|
-
}
|
|
2445
|
-
|
|
2446
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2447
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2448
|
-
}
|
|
2449
|
-
|
|
2450
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2451
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
if (!Util.isUnset(request.since)) {
|
|
2455
|
-
query["Since"] = request.since;
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2459
|
-
query: OpenApiUtil.query(query),
|
|
2460
|
-
});
|
|
2461
|
-
let params = new $OpenApi.Params({
|
|
2462
|
-
action: "DescribePhoneNumberResale",
|
|
2463
|
-
version: "2020-02-17",
|
|
2464
|
-
protocol: "HTTPS",
|
|
2465
|
-
pathname: "/",
|
|
2466
|
-
method: "POST",
|
|
2467
|
-
authType: "AK",
|
|
2468
|
-
style: "RPC",
|
|
2469
|
-
reqBodyType: "formData",
|
|
2470
|
-
bodyType: "json",
|
|
2471
|
-
});
|
|
2472
|
-
return $tea.cast<DescribePhoneNumberResaleResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberResaleResponse({}));
|
|
2473
|
-
}
|
|
2474
|
-
|
|
2475
|
-
async describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse> {
|
|
2476
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2477
|
-
return await this.describePhoneNumberResaleWithOptions(request, runtime);
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
|
-
async describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse> {
|
|
2481
|
-
Util.validateModel(request);
|
|
2482
|
-
let query = { };
|
|
2483
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2484
|
-
query["OwnerId"] = request.ownerId;
|
|
2485
|
-
}
|
|
2486
|
-
|
|
2487
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2488
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2489
|
-
}
|
|
2490
|
-
|
|
2491
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2492
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2496
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2500
|
-
query: OpenApiUtil.query(query),
|
|
2501
|
-
});
|
|
2502
|
-
let params = new $OpenApi.Params({
|
|
2503
|
-
action: "DescribePhoneNumberStatus",
|
|
2504
|
-
version: "2020-02-17",
|
|
2505
|
-
protocol: "HTTPS",
|
|
2506
|
-
pathname: "/",
|
|
2507
|
-
method: "POST",
|
|
2508
|
-
authType: "AK",
|
|
2509
|
-
style: "RPC",
|
|
2510
|
-
reqBodyType: "formData",
|
|
2511
|
-
bodyType: "json",
|
|
2512
|
-
});
|
|
2513
|
-
return $tea.cast<DescribePhoneNumberStatusResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberStatusResponse({}));
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
|
-
async describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse> {
|
|
2517
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2518
|
-
return await this.describePhoneNumberStatusWithOptions(request, runtime);
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
1954
|
async describePhoneTwiceTelVerifyWithOptions(request: DescribePhoneTwiceTelVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneTwiceTelVerifyResponse> {
|
|
2522
1955
|
Util.validateModel(request);
|
|
2523
1956
|
let query = { };
|
|
@@ -2525,6 +1958,10 @@ export default class Client extends OpenApi {
|
|
|
2525
1958
|
query["AuthCode"] = request.authCode;
|
|
2526
1959
|
}
|
|
2527
1960
|
|
|
1961
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1962
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
2528
1965
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2529
1966
|
query["InputNumber"] = request.inputNumber;
|
|
2530
1967
|
}
|
|
@@ -2676,6 +2113,10 @@ export default class Client extends OpenApi {
|
|
|
2676
2113
|
query["AuthCode"] = request.authCode;
|
|
2677
2114
|
}
|
|
2678
2115
|
|
|
2116
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2117
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2679
2120
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2680
2121
|
query["InputNumber"] = request.inputNumber;
|
|
2681
2122
|
}
|
|
@@ -2774,6 +2215,10 @@ export default class Client extends OpenApi {
|
|
|
2774
2215
|
query["AuthCode"] = request.authCode;
|
|
2775
2216
|
}
|
|
2776
2217
|
|
|
2218
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2219
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2777
2222
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2778
2223
|
query["InputNumber"] = request.inputNumber;
|
|
2779
2224
|
}
|
|
@@ -2823,6 +2268,10 @@ export default class Client extends OpenApi {
|
|
|
2823
2268
|
query["AuthCode"] = request.authCode;
|
|
2824
2269
|
}
|
|
2825
2270
|
|
|
2271
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2272
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2826
2275
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2827
2276
|
query["InputNumber"] = request.inputNumber;
|
|
2828
2277
|
}
|
|
@@ -2872,6 +2321,10 @@ export default class Client extends OpenApi {
|
|
|
2872
2321
|
query["AuthCode"] = request.authCode;
|
|
2873
2322
|
}
|
|
2874
2323
|
|
|
2324
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2325
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2875
2328
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2876
2329
|
query["InputNumber"] = request.inputNumber;
|
|
2877
2330
|
}
|
|
@@ -2921,6 +2374,10 @@ export default class Client extends OpenApi {
|
|
|
2921
2374
|
query["AuthCode"] = request.authCode;
|
|
2922
2375
|
}
|
|
2923
2376
|
|
|
2377
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2378
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2924
2381
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2925
2382
|
query["InputNumber"] = request.inputNumber;
|
|
2926
2383
|
}
|
|
@@ -2974,6 +2431,10 @@ export default class Client extends OpenApi {
|
|
|
2974
2431
|
query["CertCode"] = request.certCode;
|
|
2975
2432
|
}
|
|
2976
2433
|
|
|
2434
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2435
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2977
2438
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2978
2439
|
query["InputNumber"] = request.inputNumber;
|
|
2979
2440
|
}
|
|
@@ -3027,6 +2488,10 @@ export default class Client extends OpenApi {
|
|
|
3027
2488
|
query["AuthCode"] = request.authCode;
|
|
3028
2489
|
}
|
|
3029
2490
|
|
|
2491
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2492
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
3030
2495
|
if (!Util.isUnset(request.inputNumber)) {
|
|
3031
2496
|
query["InputNumber"] = request.inputNumber;
|
|
3032
2497
|
}
|