@alicloud/dytnsapi20200217 1.0.20 → 1.0.22
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 +11 -252
- package/dist/client.js +55 -493
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +89 -624
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',
|
|
@@ -445,6 +286,7 @@ export class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
445
286
|
|
|
446
287
|
export class DescribePhoneNumberOperatorAttributeRequest extends $tea.Model {
|
|
447
288
|
authCode?: string;
|
|
289
|
+
extendFunction?: string;
|
|
448
290
|
inputNumber?: string;
|
|
449
291
|
mask?: string;
|
|
450
292
|
ownerId?: number;
|
|
@@ -453,6 +295,7 @@ export class DescribePhoneNumberOperatorAttributeRequest extends $tea.Model {
|
|
|
453
295
|
static names(): { [key: string]: string } {
|
|
454
296
|
return {
|
|
455
297
|
authCode: 'AuthCode',
|
|
298
|
+
extendFunction: 'ExtendFunction',
|
|
456
299
|
inputNumber: 'InputNumber',
|
|
457
300
|
mask: 'Mask',
|
|
458
301
|
ownerId: 'OwnerId',
|
|
@@ -464,6 +307,7 @@ export class DescribePhoneNumberOperatorAttributeRequest extends $tea.Model {
|
|
|
464
307
|
static types(): { [key: string]: any } {
|
|
465
308
|
return {
|
|
466
309
|
authCode: 'string',
|
|
310
|
+
extendFunction: 'string',
|
|
467
311
|
inputNumber: 'string',
|
|
468
312
|
mask: 'string',
|
|
469
313
|
ownerId: 'number',
|
|
@@ -530,173 +374,9 @@ export class DescribePhoneNumberOperatorAttributeResponse extends $tea.Model {
|
|
|
530
374
|
}
|
|
531
375
|
}
|
|
532
376
|
|
|
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;
|
|
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: DescribePhoneNumberStatusResponseBody,
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
constructor(map?: { [key: string]: any }) {
|
|
694
|
-
super(map);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
|
|
698
377
|
export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
699
378
|
authCode?: string;
|
|
379
|
+
extendFunction?: string;
|
|
700
380
|
inputNumber?: string;
|
|
701
381
|
mask?: string;
|
|
702
382
|
ownerId?: number;
|
|
@@ -706,6 +386,7 @@ export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
|
706
386
|
static names(): { [key: string]: string } {
|
|
707
387
|
return {
|
|
708
388
|
authCode: 'AuthCode',
|
|
389
|
+
extendFunction: 'ExtendFunction',
|
|
709
390
|
inputNumber: 'InputNumber',
|
|
710
391
|
mask: 'Mask',
|
|
711
392
|
ownerId: 'OwnerId',
|
|
@@ -718,6 +399,7 @@ export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
|
718
399
|
static types(): { [key: string]: any } {
|
|
719
400
|
return {
|
|
720
401
|
authCode: 'string',
|
|
402
|
+
extendFunction: 'string',
|
|
721
403
|
inputNumber: 'string',
|
|
722
404
|
mask: 'string',
|
|
723
405
|
ownerId: 'number',
|
|
@@ -961,6 +643,7 @@ export class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
961
643
|
|
|
962
644
|
export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
963
645
|
authCode?: string;
|
|
646
|
+
extendFunction?: string;
|
|
964
647
|
inputNumber?: string;
|
|
965
648
|
mask?: string;
|
|
966
649
|
ownerId?: number;
|
|
@@ -969,6 +652,7 @@ export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
|
969
652
|
static names(): { [key: string]: string } {
|
|
970
653
|
return {
|
|
971
654
|
authCode: 'AuthCode',
|
|
655
|
+
extendFunction: 'ExtendFunction',
|
|
972
656
|
inputNumber: 'InputNumber',
|
|
973
657
|
mask: 'Mask',
|
|
974
658
|
ownerId: 'OwnerId',
|
|
@@ -980,6 +664,7 @@ export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
|
980
664
|
static types(): { [key: string]: any } {
|
|
981
665
|
return {
|
|
982
666
|
authCode: 'string',
|
|
667
|
+
extendFunction: 'string',
|
|
983
668
|
inputNumber: 'string',
|
|
984
669
|
mask: 'string',
|
|
985
670
|
ownerId: 'number',
|
|
@@ -1135,6 +820,7 @@ export class PhoneNumberStatusForPublicResponse extends $tea.Model {
|
|
|
1135
820
|
|
|
1136
821
|
export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
1137
822
|
authCode?: string;
|
|
823
|
+
extendFunction?: string;
|
|
1138
824
|
inputNumber?: string;
|
|
1139
825
|
mask?: string;
|
|
1140
826
|
ownerId?: number;
|
|
@@ -1143,6 +829,7 @@ export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
|
1143
829
|
static names(): { [key: string]: string } {
|
|
1144
830
|
return {
|
|
1145
831
|
authCode: 'AuthCode',
|
|
832
|
+
extendFunction: 'ExtendFunction',
|
|
1146
833
|
inputNumber: 'InputNumber',
|
|
1147
834
|
mask: 'Mask',
|
|
1148
835
|
ownerId: 'OwnerId',
|
|
@@ -1154,6 +841,7 @@ export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
|
1154
841
|
static types(): { [key: string]: any } {
|
|
1155
842
|
return {
|
|
1156
843
|
authCode: 'string',
|
|
844
|
+
extendFunction: 'string',
|
|
1157
845
|
inputNumber: 'string',
|
|
1158
846
|
mask: 'string',
|
|
1159
847
|
ownerId: 'number',
|
|
@@ -1222,6 +910,7 @@ export class PhoneNumberStatusForRealResponse extends $tea.Model {
|
|
|
1222
910
|
|
|
1223
911
|
export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
1224
912
|
authCode?: string;
|
|
913
|
+
extendFunction?: string;
|
|
1225
914
|
inputNumber?: string;
|
|
1226
915
|
mask?: string;
|
|
1227
916
|
ownerId?: number;
|
|
@@ -1230,6 +919,7 @@ export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
|
1230
919
|
static names(): { [key: string]: string } {
|
|
1231
920
|
return {
|
|
1232
921
|
authCode: 'AuthCode',
|
|
922
|
+
extendFunction: 'ExtendFunction',
|
|
1233
923
|
inputNumber: 'InputNumber',
|
|
1234
924
|
mask: 'Mask',
|
|
1235
925
|
ownerId: 'OwnerId',
|
|
@@ -1241,6 +931,7 @@ export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
|
1241
931
|
static types(): { [key: string]: any } {
|
|
1242
932
|
return {
|
|
1243
933
|
authCode: 'string',
|
|
934
|
+
extendFunction: 'string',
|
|
1244
935
|
inputNumber: 'string',
|
|
1245
936
|
mask: 'string',
|
|
1246
937
|
ownerId: 'number',
|
|
@@ -1309,6 +1000,7 @@ export class PhoneNumberStatusForSmsResponse extends $tea.Model {
|
|
|
1309
1000
|
|
|
1310
1001
|
export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
1311
1002
|
authCode?: string;
|
|
1003
|
+
extendFunction?: string;
|
|
1312
1004
|
inputNumber?: string;
|
|
1313
1005
|
mask?: string;
|
|
1314
1006
|
ownerId?: number;
|
|
@@ -1317,6 +1009,7 @@ export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
|
1317
1009
|
static names(): { [key: string]: string } {
|
|
1318
1010
|
return {
|
|
1319
1011
|
authCode: 'AuthCode',
|
|
1012
|
+
extendFunction: 'ExtendFunction',
|
|
1320
1013
|
inputNumber: 'InputNumber',
|
|
1321
1014
|
mask: 'Mask',
|
|
1322
1015
|
ownerId: 'OwnerId',
|
|
@@ -1328,6 +1021,7 @@ export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
|
1328
1021
|
static types(): { [key: string]: any } {
|
|
1329
1022
|
return {
|
|
1330
1023
|
authCode: 'string',
|
|
1024
|
+
extendFunction: 'string',
|
|
1331
1025
|
inputNumber: 'string',
|
|
1332
1026
|
mask: 'string',
|
|
1333
1027
|
ownerId: 'number',
|
|
@@ -1396,6 +1090,7 @@ export class PhoneNumberStatusForVirtualResponse extends $tea.Model {
|
|
|
1396
1090
|
|
|
1397
1091
|
export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
1398
1092
|
authCode?: string;
|
|
1093
|
+
extendFunction?: string;
|
|
1399
1094
|
inputNumber?: string;
|
|
1400
1095
|
mask?: string;
|
|
1401
1096
|
ownerId?: number;
|
|
@@ -1404,6 +1099,7 @@ export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
|
1404
1099
|
static names(): { [key: string]: string } {
|
|
1405
1100
|
return {
|
|
1406
1101
|
authCode: 'AuthCode',
|
|
1102
|
+
extendFunction: 'ExtendFunction',
|
|
1407
1103
|
inputNumber: 'InputNumber',
|
|
1408
1104
|
mask: 'Mask',
|
|
1409
1105
|
ownerId: 'OwnerId',
|
|
@@ -1415,6 +1111,7 @@ export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
|
1415
1111
|
static types(): { [key: string]: any } {
|
|
1416
1112
|
return {
|
|
1417
1113
|
authCode: 'string',
|
|
1114
|
+
extendFunction: 'string',
|
|
1418
1115
|
inputNumber: 'string',
|
|
1419
1116
|
mask: 'string',
|
|
1420
1117
|
ownerId: 'number',
|
|
@@ -1484,24 +1181,24 @@ export class PhoneNumberStatusForVoiceResponse extends $tea.Model {
|
|
|
1484
1181
|
export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
1485
1182
|
authCode?: string;
|
|
1486
1183
|
certCode?: string;
|
|
1184
|
+
extendFunction?: string;
|
|
1487
1185
|
inputNumber?: string;
|
|
1488
1186
|
mask?: string;
|
|
1489
1187
|
name?: string;
|
|
1490
1188
|
ownerId?: number;
|
|
1491
1189
|
resourceOwnerAccount?: string;
|
|
1492
1190
|
resourceOwnerId?: number;
|
|
1493
|
-
routeName?: string;
|
|
1494
1191
|
static names(): { [key: string]: string } {
|
|
1495
1192
|
return {
|
|
1496
1193
|
authCode: 'AuthCode',
|
|
1497
1194
|
certCode: 'CertCode',
|
|
1195
|
+
extendFunction: 'ExtendFunction',
|
|
1498
1196
|
inputNumber: 'InputNumber',
|
|
1499
1197
|
mask: 'Mask',
|
|
1500
1198
|
name: 'Name',
|
|
1501
1199
|
ownerId: 'OwnerId',
|
|
1502
1200
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1503
1201
|
resourceOwnerId: 'ResourceOwnerId',
|
|
1504
|
-
routeName: 'RouteName',
|
|
1505
1202
|
};
|
|
1506
1203
|
}
|
|
1507
1204
|
|
|
@@ -1509,13 +1206,13 @@ export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
|
1509
1206
|
return {
|
|
1510
1207
|
authCode: 'string',
|
|
1511
1208
|
certCode: 'string',
|
|
1209
|
+
extendFunction: 'string',
|
|
1512
1210
|
inputNumber: 'string',
|
|
1513
1211
|
mask: 'string',
|
|
1514
1212
|
name: 'string',
|
|
1515
1213
|
ownerId: 'number',
|
|
1516
1214
|
resourceOwnerAccount: 'string',
|
|
1517
1215
|
resourceOwnerId: 'number',
|
|
1518
|
-
routeName: 'string',
|
|
1519
1216
|
};
|
|
1520
1217
|
}
|
|
1521
1218
|
|
|
@@ -1579,6 +1276,7 @@ export class ThreeElementsVerificationResponse extends $tea.Model {
|
|
|
1579
1276
|
|
|
1580
1277
|
export class TwoElementsVerificationRequest extends $tea.Model {
|
|
1581
1278
|
authCode?: string;
|
|
1279
|
+
extendFunction?: string;
|
|
1582
1280
|
inputNumber?: string;
|
|
1583
1281
|
mask?: string;
|
|
1584
1282
|
name?: string;
|
|
@@ -1588,6 +1286,7 @@ export class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
1588
1286
|
static names(): { [key: string]: string } {
|
|
1589
1287
|
return {
|
|
1590
1288
|
authCode: 'AuthCode',
|
|
1289
|
+
extendFunction: 'ExtendFunction',
|
|
1591
1290
|
inputNumber: 'InputNumber',
|
|
1592
1291
|
mask: 'Mask',
|
|
1593
1292
|
name: 'Name',
|
|
@@ -1600,6 +1299,7 @@ export class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
1600
1299
|
static types(): { [key: string]: any } {
|
|
1601
1300
|
return {
|
|
1602
1301
|
authCode: 'string',
|
|
1302
|
+
extendFunction: 'string',
|
|
1603
1303
|
inputNumber: 'string',
|
|
1604
1304
|
mask: 'string',
|
|
1605
1305
|
name: 'string',
|
|
@@ -1633,32 +1333,7 @@ export class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
|
1633
1333
|
code: 'string',
|
|
1634
1334
|
data: TwoElementsVerificationResponseBodyData,
|
|
1635
1335
|
message: 'string',
|
|
1636
|
-
requestId: 'string',
|
|
1637
|
-
};
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
constructor(map?: { [key: string]: any }) {
|
|
1641
|
-
super(map);
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
export class TwoElementsVerificationResponse extends $tea.Model {
|
|
1646
|
-
headers: { [key: string]: string };
|
|
1647
|
-
statusCode: number;
|
|
1648
|
-
body: TwoElementsVerificationResponseBody;
|
|
1649
|
-
static names(): { [key: string]: string } {
|
|
1650
|
-
return {
|
|
1651
|
-
headers: 'headers',
|
|
1652
|
-
statusCode: 'statusCode',
|
|
1653
|
-
body: 'body',
|
|
1654
|
-
};
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
static types(): { [key: string]: any } {
|
|
1658
|
-
return {
|
|
1659
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1660
|
-
statusCode: 'number',
|
|
1661
|
-
body: TwoElementsVerificationResponseBody,
|
|
1336
|
+
requestId: 'string',
|
|
1662
1337
|
};
|
|
1663
1338
|
}
|
|
1664
1339
|
|
|
@@ -1667,20 +1342,23 @@ export class TwoElementsVerificationResponse extends $tea.Model {
|
|
|
1667
1342
|
}
|
|
1668
1343
|
}
|
|
1669
1344
|
|
|
1670
|
-
export class
|
|
1671
|
-
|
|
1672
|
-
|
|
1345
|
+
export class TwoElementsVerificationResponse extends $tea.Model {
|
|
1346
|
+
headers: { [key: string]: string };
|
|
1347
|
+
statusCode: number;
|
|
1348
|
+
body: TwoElementsVerificationResponseBody;
|
|
1673
1349
|
static names(): { [key: string]: string } {
|
|
1674
1350
|
return {
|
|
1675
|
-
|
|
1676
|
-
|
|
1351
|
+
headers: 'headers',
|
|
1352
|
+
statusCode: 'statusCode',
|
|
1353
|
+
body: 'body',
|
|
1677
1354
|
};
|
|
1678
1355
|
}
|
|
1679
1356
|
|
|
1680
1357
|
static types(): { [key: string]: any } {
|
|
1681
1358
|
return {
|
|
1682
|
-
|
|
1683
|
-
|
|
1359
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1360
|
+
statusCode: 'number',
|
|
1361
|
+
body: TwoElementsVerificationResponseBody,
|
|
1684
1362
|
};
|
|
1685
1363
|
}
|
|
1686
1364
|
|
|
@@ -1689,7 +1367,7 @@ export class DescribeEmptyNumberResponseBodyData extends $tea.Model {
|
|
|
1689
1367
|
}
|
|
1690
1368
|
}
|
|
1691
1369
|
|
|
1692
|
-
export class
|
|
1370
|
+
export class DescribeEmptyNumberResponseBodyData extends $tea.Model {
|
|
1693
1371
|
number?: string;
|
|
1694
1372
|
status?: string;
|
|
1695
1373
|
static names(): { [key: string]: string } {
|
|
@@ -1733,40 +1411,6 @@ export class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
|
1733
1411
|
}
|
|
1734
1412
|
}
|
|
1735
1413
|
|
|
1736
|
-
export class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
|
|
1737
|
-
basicCarrier?: string;
|
|
1738
|
-
carrier?: string;
|
|
1739
|
-
city?: string;
|
|
1740
|
-
isNumberPortability?: boolean;
|
|
1741
|
-
numberSegment?: number;
|
|
1742
|
-
province?: string;
|
|
1743
|
-
static names(): { [key: string]: string } {
|
|
1744
|
-
return {
|
|
1745
|
-
basicCarrier: 'BasicCarrier',
|
|
1746
|
-
carrier: 'Carrier',
|
|
1747
|
-
city: 'City',
|
|
1748
|
-
isNumberPortability: 'IsNumberPortability',
|
|
1749
|
-
numberSegment: 'NumberSegment',
|
|
1750
|
-
province: 'Province',
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
static types(): { [key: string]: any } {
|
|
1755
|
-
return {
|
|
1756
|
-
basicCarrier: 'string',
|
|
1757
|
-
carrier: 'string',
|
|
1758
|
-
city: 'string',
|
|
1759
|
-
isNumberPortability: 'boolean',
|
|
1760
|
-
numberSegment: 'number',
|
|
1761
|
-
province: 'string',
|
|
1762
|
-
};
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
constructor(map?: { [key: string]: any }) {
|
|
1766
|
-
super(map);
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
1414
|
export class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.Model {
|
|
1771
1415
|
carrierCode?: string;
|
|
1772
1416
|
verifyResult?: string;
|
|
@@ -1823,53 +1467,6 @@ export class DescribePhoneNumberOperatorAttributeResponseBodyData extends $tea.M
|
|
|
1823
1467
|
}
|
|
1824
1468
|
}
|
|
1825
1469
|
|
|
1826
|
-
export class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
1827
|
-
carrier?: string;
|
|
1828
|
-
verifyResult?: number;
|
|
1829
|
-
static names(): { [key: string]: string } {
|
|
1830
|
-
return {
|
|
1831
|
-
carrier: 'Carrier',
|
|
1832
|
-
verifyResult: 'VerifyResult',
|
|
1833
|
-
};
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
static types(): { [key: string]: any } {
|
|
1837
|
-
return {
|
|
1838
|
-
carrier: 'string',
|
|
1839
|
-
verifyResult: 'number',
|
|
1840
|
-
};
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
constructor(map?: { [key: string]: any }) {
|
|
1844
|
-
super(map);
|
|
1845
|
-
}
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
1849
|
-
carrier?: string;
|
|
1850
|
-
serialId?: string;
|
|
1851
|
-
status?: string;
|
|
1852
|
-
static names(): { [key: string]: string } {
|
|
1853
|
-
return {
|
|
1854
|
-
carrier: 'Carrier',
|
|
1855
|
-
serialId: 'SerialId',
|
|
1856
|
-
status: 'Status',
|
|
1857
|
-
};
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
static types(): { [key: string]: any } {
|
|
1861
|
-
return {
|
|
1862
|
-
carrier: 'string',
|
|
1863
|
-
serialId: 'string',
|
|
1864
|
-
status: 'string',
|
|
1865
|
-
};
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
constructor(map?: { [key: string]: any }) {
|
|
1869
|
-
super(map);
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
1470
|
export class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
|
|
1874
1471
|
carrier?: string;
|
|
1875
1472
|
verifyResult?: string;
|
|
@@ -2148,6 +1745,10 @@ export default class Client extends OpenApi {
|
|
|
2148
1745
|
query["AuthCode"] = request.authCode;
|
|
2149
1746
|
}
|
|
2150
1747
|
|
|
1748
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1749
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
2151
1752
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2152
1753
|
query["InputNumber"] = request.inputNumber;
|
|
2153
1754
|
}
|
|
@@ -2190,51 +1791,6 @@ export default class Client extends OpenApi {
|
|
|
2190
1791
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
2191
1792
|
}
|
|
2192
1793
|
|
|
2193
|
-
async describeEmptyNumberDetectWithOptions(request: DescribeEmptyNumberDetectRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEmptyNumberDetectResponse> {
|
|
2194
|
-
Util.validateModel(request);
|
|
2195
|
-
let query = { };
|
|
2196
|
-
if (!Util.isUnset(request.encryptType)) {
|
|
2197
|
-
query["EncryptType"] = request.encryptType;
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2201
|
-
query["OwnerId"] = request.ownerId;
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
if (!Util.isUnset(request.phone)) {
|
|
2205
|
-
query["Phone"] = request.phone;
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2209
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2210
|
-
}
|
|
2211
|
-
|
|
2212
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2213
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2217
|
-
query: OpenApiUtil.query(query),
|
|
2218
|
-
});
|
|
2219
|
-
let params = new $OpenApi.Params({
|
|
2220
|
-
action: "DescribeEmptyNumberDetect",
|
|
2221
|
-
version: "2020-02-17",
|
|
2222
|
-
protocol: "HTTPS",
|
|
2223
|
-
pathname: "/",
|
|
2224
|
-
method: "POST",
|
|
2225
|
-
authType: "AK",
|
|
2226
|
-
style: "RPC",
|
|
2227
|
-
reqBodyType: "formData",
|
|
2228
|
-
bodyType: "json",
|
|
2229
|
-
});
|
|
2230
|
-
return $tea.cast<DescribeEmptyNumberDetectResponse>(await this.callApi(params, req, runtime), new DescribeEmptyNumberDetectResponse({}));
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
async describeEmptyNumberDetect(request: DescribeEmptyNumberDetectRequest): Promise<DescribeEmptyNumberDetectResponse> {
|
|
2234
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2235
|
-
return await this.describeEmptyNumberDetectWithOptions(request, runtime);
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2238
1794
|
async describePhoneNumberAnalysisWithOptions(request: DescribePhoneNumberAnalysisRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisResponse> {
|
|
2239
1795
|
Util.validateModel(request);
|
|
2240
1796
|
let query = { };
|
|
@@ -2292,47 +1848,6 @@ export default class Client extends OpenApi {
|
|
|
2292
1848
|
return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
|
|
2293
1849
|
}
|
|
2294
1850
|
|
|
2295
|
-
async describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse> {
|
|
2296
|
-
Util.validateModel(request);
|
|
2297
|
-
let query = { };
|
|
2298
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2299
|
-
query["OwnerId"] = request.ownerId;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2303
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2304
|
-
}
|
|
2305
|
-
|
|
2306
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2307
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2311
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2315
|
-
query: OpenApiUtil.query(query),
|
|
2316
|
-
});
|
|
2317
|
-
let params = new $OpenApi.Params({
|
|
2318
|
-
action: "DescribePhoneNumberAttribute",
|
|
2319
|
-
version: "2020-02-17",
|
|
2320
|
-
protocol: "HTTPS",
|
|
2321
|
-
pathname: "/",
|
|
2322
|
-
method: "POST",
|
|
2323
|
-
authType: "AK",
|
|
2324
|
-
style: "RPC",
|
|
2325
|
-
reqBodyType: "formData",
|
|
2326
|
-
bodyType: "json",
|
|
2327
|
-
});
|
|
2328
|
-
return $tea.cast<DescribePhoneNumberAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
async describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse> {
|
|
2332
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2333
|
-
return await this.describePhoneNumberAttributeWithOptions(request, runtime);
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
1851
|
async describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse> {
|
|
2337
1852
|
Util.validateModel(request);
|
|
2338
1853
|
let query = { };
|
|
@@ -2344,6 +1859,10 @@ export default class Client extends OpenApi {
|
|
|
2344
1859
|
query["Carrier"] = request.carrier;
|
|
2345
1860
|
}
|
|
2346
1861
|
|
|
1862
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1863
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
2347
1866
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2348
1867
|
query["InputNumber"] = request.inputNumber;
|
|
2349
1868
|
}
|
|
@@ -2393,6 +1912,10 @@ export default class Client extends OpenApi {
|
|
|
2393
1912
|
query["AuthCode"] = request.authCode;
|
|
2394
1913
|
}
|
|
2395
1914
|
|
|
1915
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1916
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
2396
1919
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2397
1920
|
query["InputNumber"] = request.inputNumber;
|
|
2398
1921
|
}
|
|
@@ -2435,92 +1958,6 @@ export default class Client extends OpenApi {
|
|
|
2435
1958
|
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
2436
1959
|
}
|
|
2437
1960
|
|
|
2438
|
-
async describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse> {
|
|
2439
|
-
Util.validateModel(request);
|
|
2440
|
-
let query = { };
|
|
2441
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2442
|
-
query["OwnerId"] = request.ownerId;
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2446
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2450
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2454
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
|
-
if (!Util.isUnset(request.since)) {
|
|
2458
|
-
query["Since"] = request.since;
|
|
2459
|
-
}
|
|
2460
|
-
|
|
2461
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2462
|
-
query: OpenApiUtil.query(query),
|
|
2463
|
-
});
|
|
2464
|
-
let params = new $OpenApi.Params({
|
|
2465
|
-
action: "DescribePhoneNumberResale",
|
|
2466
|
-
version: "2020-02-17",
|
|
2467
|
-
protocol: "HTTPS",
|
|
2468
|
-
pathname: "/",
|
|
2469
|
-
method: "POST",
|
|
2470
|
-
authType: "AK",
|
|
2471
|
-
style: "RPC",
|
|
2472
|
-
reqBodyType: "formData",
|
|
2473
|
-
bodyType: "json",
|
|
2474
|
-
});
|
|
2475
|
-
return $tea.cast<DescribePhoneNumberResaleResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberResaleResponse({}));
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
async describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse> {
|
|
2479
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2480
|
-
return await this.describePhoneNumberResaleWithOptions(request, runtime);
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
async describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse> {
|
|
2484
|
-
Util.validateModel(request);
|
|
2485
|
-
let query = { };
|
|
2486
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2487
|
-
query["OwnerId"] = request.ownerId;
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2491
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2492
|
-
}
|
|
2493
|
-
|
|
2494
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2495
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2499
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2503
|
-
query: OpenApiUtil.query(query),
|
|
2504
|
-
});
|
|
2505
|
-
let params = new $OpenApi.Params({
|
|
2506
|
-
action: "DescribePhoneNumberStatus",
|
|
2507
|
-
version: "2020-02-17",
|
|
2508
|
-
protocol: "HTTPS",
|
|
2509
|
-
pathname: "/",
|
|
2510
|
-
method: "POST",
|
|
2511
|
-
authType: "AK",
|
|
2512
|
-
style: "RPC",
|
|
2513
|
-
reqBodyType: "formData",
|
|
2514
|
-
bodyType: "json",
|
|
2515
|
-
});
|
|
2516
|
-
return $tea.cast<DescribePhoneNumberStatusResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberStatusResponse({}));
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2519
|
-
async describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse> {
|
|
2520
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2521
|
-
return await this.describePhoneNumberStatusWithOptions(request, runtime);
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
1961
|
async describePhoneTwiceTelVerifyWithOptions(request: DescribePhoneTwiceTelVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneTwiceTelVerifyResponse> {
|
|
2525
1962
|
Util.validateModel(request);
|
|
2526
1963
|
let query = { };
|
|
@@ -2528,6 +1965,10 @@ export default class Client extends OpenApi {
|
|
|
2528
1965
|
query["AuthCode"] = request.authCode;
|
|
2529
1966
|
}
|
|
2530
1967
|
|
|
1968
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1969
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
2531
1972
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2532
1973
|
query["InputNumber"] = request.inputNumber;
|
|
2533
1974
|
}
|
|
@@ -2679,6 +2120,10 @@ export default class Client extends OpenApi {
|
|
|
2679
2120
|
query["AuthCode"] = request.authCode;
|
|
2680
2121
|
}
|
|
2681
2122
|
|
|
2123
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2124
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2682
2127
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2683
2128
|
query["InputNumber"] = request.inputNumber;
|
|
2684
2129
|
}
|
|
@@ -2777,6 +2222,10 @@ export default class Client extends OpenApi {
|
|
|
2777
2222
|
query["AuthCode"] = request.authCode;
|
|
2778
2223
|
}
|
|
2779
2224
|
|
|
2225
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2226
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2780
2229
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2781
2230
|
query["InputNumber"] = request.inputNumber;
|
|
2782
2231
|
}
|
|
@@ -2826,6 +2275,10 @@ export default class Client extends OpenApi {
|
|
|
2826
2275
|
query["AuthCode"] = request.authCode;
|
|
2827
2276
|
}
|
|
2828
2277
|
|
|
2278
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2279
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2829
2282
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2830
2283
|
query["InputNumber"] = request.inputNumber;
|
|
2831
2284
|
}
|
|
@@ -2875,6 +2328,10 @@ export default class Client extends OpenApi {
|
|
|
2875
2328
|
query["AuthCode"] = request.authCode;
|
|
2876
2329
|
}
|
|
2877
2330
|
|
|
2331
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2332
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2878
2335
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2879
2336
|
query["InputNumber"] = request.inputNumber;
|
|
2880
2337
|
}
|
|
@@ -2924,6 +2381,10 @@ export default class Client extends OpenApi {
|
|
|
2924
2381
|
query["AuthCode"] = request.authCode;
|
|
2925
2382
|
}
|
|
2926
2383
|
|
|
2384
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2385
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2927
2388
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2928
2389
|
query["InputNumber"] = request.inputNumber;
|
|
2929
2390
|
}
|
|
@@ -2977,6 +2438,10 @@ export default class Client extends OpenApi {
|
|
|
2977
2438
|
query["CertCode"] = request.certCode;
|
|
2978
2439
|
}
|
|
2979
2440
|
|
|
2441
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2442
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2980
2445
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2981
2446
|
query["InputNumber"] = request.inputNumber;
|
|
2982
2447
|
}
|
|
@@ -3001,10 +2466,6 @@ export default class Client extends OpenApi {
|
|
|
3001
2466
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3002
2467
|
}
|
|
3003
2468
|
|
|
3004
|
-
if (!Util.isUnset(request.routeName)) {
|
|
3005
|
-
query["RouteName"] = request.routeName;
|
|
3006
|
-
}
|
|
3007
|
-
|
|
3008
2469
|
let req = new $OpenApi.OpenApiRequest({
|
|
3009
2470
|
query: OpenApiUtil.query(query),
|
|
3010
2471
|
});
|
|
@@ -3034,6 +2495,10 @@ export default class Client extends OpenApi {
|
|
|
3034
2495
|
query["AuthCode"] = request.authCode;
|
|
3035
2496
|
}
|
|
3036
2497
|
|
|
2498
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2499
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
3037
2502
|
if (!Util.isUnset(request.inputNumber)) {
|
|
3038
2503
|
query["InputNumber"] = request.inputNumber;
|
|
3039
2504
|
}
|